export interface Props {
	placeholder?: string;
	value?: string;
	onChange(val: string): unknown;
}

export default function Textarea(props: Props) {
	return <>
		<textarea placeholder={props.placeholder} value={props.value} onChange={(e) => {
			props.onChange && props.onChange(e.target.value);
		}} />
		<style jsx>{`
textarea{
	width: 100%;
	min-height: 10rem;
}
`}</style>

	</>;
}
